package priv.mill.server;
import java.util.List;

import priv.mill.entry.Role;

public interface RoleService {
	//根据Id查找
	Role getRoleById(Integer roleId);
	
	Role getRoleByEntry(Role role);
	
	List<Role> getRolesByPage(Role role);
	
	int updateRole(Role role);
	
	int insertRole(Role role);
		
	int deleteRole(Integer roleId);
}
